#include <QCoreApplication>
#include"head.h"
#include<iostream>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    sequence seq;
    seq.showlist();
    cout<<endl;
    cout<<"\nthe min number is: "<<seq.deletemin()<<endl;
    seq.showlist();
    cout<<endl;
    seq.deleteelement();
    cout<<endl;
    seq.showlist();
    cout<<endl;
    seq.deleterange();
    cout<<endl;
    seq.showlist();
    cout<<endl;
    return a.exec();
}
